package com.example.demo.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @description
 *
 * @author lilinchun
 * @date 2023/11/14
 */
@Data
@Configuration
public class MyProperties {


    @Value("${wl.name}")
    private String name;

    @Value("${wl.age}")
    private Integer age;

    @Value("${wl.msg}")
    private String msg;
}